package entity.vo;

import entity.myEnum.Status;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import java.util.Date;

public class DoctorsGetAppointments {
    /**
     * 预约ID，主键
     */
    private Integer id;

    /**
     * 预约日期
     */
    private Date datetime;
    /**
     * 预约状态，枚举类型
     */
    @Enumerated(EnumType.STRING)
    private Status status;

    //发起用户的姓名
    private String name;

    private String email;

    private String phoneNumber;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
}
